package com.zhiyou.app.shop.manager.service;

import com.zhiyou.app.shop.common.util.Page;
import com.zhiyou.app.shop.manager.action.vo.OrderVo;
import com.zhiyou.app.shop.manager.dao.pojo.GoodsOrder;
import com.zhiyou.app.shop.manager.dao.pojo.UserDetail;

public interface IOrderService {
	/**生成订单**/
	String saveOrderFromJsonStr(String orderJson, UserDetail ud);
	/**将订单改为已支付状态**/
	void updateOrderPayStatus(String payOrderId, String userId);
	/**查询已付款订单**/
	void findGoodsOrderForApp(Page page, GoodsOrder order);
	/**查询商铺订单**/
	void findMyShopOrder(Page page, GoodsOrder gd);
	/**设置为已发货**/
	void setDeliverd(String orderId);
	/**设置为已收货**/
	void setReceived(String orderId);
	/**查询我的订单**/
	void findMyOrders(Page page, GoodsOrder order);
	/**删除未付款订单**/
	void deleteNoPaiedOrder(String id);
	/**查询所有商铺订单**/
	void findAllShopOrders(Page page, OrderVo ov);
	
}
